package chapter_08_bridge.classic;

/**
 * @author yaochenglong
 * @date 2017/10/17
 * 具体抽象化角色
 */
public class RefinedAbstraction extends Abstraction {

    //覆写构造函数
    public RefinedAbstraction(Implementor implementor) {
        super(implementor);
    }

    //修正父类的行为
    @Override
    public void request() {
        /**
         * 业务处理
         */
        super.request();
        super.getImplementor().doAnything();
    }
}
